/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cageballserver.match;

import cageballserver.CageballClient;
import cageballserver.io.Client;

/**
 *
 * @author kanonas
 */
public class MatchResult {
    private CageballClient team1;
    private CageballClient team2;

    private int team1Score;
    private int team2Score;

    public MatchResult(CageballClient team1, CageballClient team2, int team1Score, int team2Score) {
        this.team1 = team1;
        this.team2 = team2;
        this.team1Score = team1Score;
        this.team2Score = team2Score;
    }

    public CageballClient getTeam1() {
        return team1;
    }

    public void setTeam1(CageballClient team1) {
        this.team1 = team1;
    }

    public int getTeam1Score() {
        return team1Score;
    }

    public void setTeam1Score(int team1Score) {
        this.team1Score = team1Score;
    }

    public CageballClient getTeam2() {
        return team2;
    }

    public void setTeam2(CageballClient team2) {
        this.team2 = team2;
    }

    public int getTeam2Score() {
        return team2Score;
    }

    public void setTeam2Score(int team2Score) {
        this.team2Score = team2Score;
    }
}
